Magic Potion : A Metalanguage for Incorporating

نویسنده

  • Dragan Djuric
چکیده

if your preferred environment requires only a few features from another paradigm, you must typically adopt the whole alien platform to take advantage of them. The alternative of using other languages and tools to implement the features in a way that avoids adding the whole platform is generally at least as difficult. But a more affordable solution is often possible. We used metaprogramming to incorporate an ontology-modeling paradigm as an embedded domain-specific language (DSL) in our Java-based programming environment. Our approach relies on the use of Clojure,2 an emerging language for the Java Virtual Machine (JVM). We also use Modeling Spaces,3 a conceptual framework for studying heterogeneous modeling problems more uniformly. We wanted a practical way for small development projects with limited resources to include a new paradigm in a host environment. The result is Magic Potion, a domain-specific metalanguage for incorporating ontological, functional, object-oriented, and concurrent programming paradigms in a single development environment. In this article, we describe its application in our Java ecosystem as a concise, lightweight means for modeling business domains. We also present results from a preliminary evaluation of its implementation advantages and disadvantages. You can access Magic Potion at www.uncomplicate. org/magicpotion.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

"The Magic Potion" - An Adventure Game for Learning

This communication presents the Magic Potion, an adventure game for learning that has been developed by the EPINOISI project in Greece for students with mild intellectual disability, and discusses in detail the design principles that have been adopted, and choices that have been made, regarding the game’s narrative and gameplay structure as well as the balance that it has been necessary to main...

متن کامل

Incorporating the Ontology Paradigm into a Mainstream Programming Environment

The emergence of the Semantic Web have revived the interest in knowledge engineering and ontologies. Different paradigms often share challenges and solutions, and can complement and mutually improve each other. This paper presents a simple and agile integration of ontologies and programming on a small scale, and in a down-to-Earth manner by incorporating the ontology paradigm into a mainstream ...

متن کامل

Lactational Programming of Infant Behavioral Phenotype

Imagine a magic potion. This potion includes all of your calories and hydration for the day. It has fatty acids for your brain, amino acids for your muscles, and essential vitamins and minerals for your cellular processes. This potion provides immunoglobulins to protect you from pathogens and hormonal cues about your mother and the environment. This potion delivers bacteria that colonize your g...

متن کامل

Love and death in Wagner's Tristan und Isolde--an epic anticholinergic crisis.

In the opera Tristan und Isolde Richard Wagner reports the poisoning of Tristan and Isolde by a “love potion.” Shortly after ingestion of the potion, the protagonists declare their love, and both die during the opera. The opera has been extensively interpreted by psychoanalysts and musicologists, but, although at least Isolde’s death remains unexplained and might be due to the potion, the medic...

متن کامل

FACTORS THAT CAN AFFECT CONSUMERS’ AND PHYSICIANS’ USE OF VACCINES Factors That Can Affect Consumers’ Vaccine-Seeking Behavior

The demands of this poor public are not reasonable, but they are quite simple. lt dreads disease and desires to be protected against it. But it is poor and wants to be protected cheaply . . . What the public wants, therefore, is a cheap magic charm to prevent, and a cheap pill or potion to cure, all disease . . . Thus it was really the public and not the medical profession that took up uaccinat...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010